<!DOCTYPE html>
<html lang="zh">
	<head>
		<meta charset="UTF-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>DEMO</title>
		<!-- 样式（CSS） -->
		<style>
			.pink {
				background-color: #fb7299;
				color: white;
				width: 200px;
				height: 40px;
				border: none;
				cursor: pointer;
				border-radius: 4px;
			}
		</style>
	</head>
	<body>
		<!-- 网页元素（HTML） -->
		<button class="pink" onclick="dosomething()">Nice to meet you</button>

		<!-- 行为脚本（JS） -->
		<script>
			function dosomething() {
				window.alert("Nice to meet you too!");
			}
		</script>
	</body>
</html>
